package com.mike.employment.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.mike.employment.base.BaseDao;
import com.mike.employment.po.Account;

@Repository
public interface AccountDao extends BaseDao<Account>{

	List<Account> findByNameAndPwdAndStatus(String name,String pwd, Integer status);
	
	Long countByRole_code(String code);
}
